import {secureStorage} from "@/utils/ls.js";

export const BASE_URL = '/api';
export const authHeader = () => {
    let token = localStorage.getItem("token") || secureStorage.getToken() || sessionStorage.getItem("token");
    if (token) {
        return ({
            Authorization: `Bearer ${token}`
        })
    }
    return null;
}


